<template>
    <el-container id="app">
      <router-view v-if="isRouterShow"></router-view>
    </el-container>

</template>

<script>



    export default {
        name: 'App',
        provide () {
        return {
            reload: this.reload
            }
        },
        data () {
            return {
            isRouterShow: true
            }
        },
        methods: {
            async reload () {
            this.isRouterShow = false
            await this.$nextTick()
            this.isRouterShow = true
            }
        },

    }
</script>

<style scoped>
    @import "./assets/css/main.css";
    /*@import "./assets/css/color-dark.css";     !*深色主题*!*/
    @import "./assets/css/theme-green/color-green.css";   /*浅绿色主题*/
</style>
